*{
    margin: 0;
    padding: 0;
}
li.items:hover{
    background: rgba(120,120,120,.1);
}
body{
    background:url(../images/background.png) 50%,50%/cover;
}
ul li{
    list-style: none;
}
.w{
    width: 1200px;
    margin: 0 auto;
}
header{
    position: sticky;
    top: 0;
    background: orange;
    background:-webkit-gradient(linear, 0% 0%, 0% 100%,from(#025158), to(#fafafa));/*谷歌*/
    padding: 15px 0;
}
header .w{
    display: flex;
    justify-content: space-between;
    color: white;
}
.fa::before{
    margin-right: 5px;
}
header .w nav{

}
header .w nav a{
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 0 15px;
}
header .w nav a:hover{
    transform: skewX(-15deg);
    color: orange;
}
article{
    margin: 10px 0;
}
article .w{
    display: flex;
    justify-content: space-between;
}
body{
    transition: all 2s;
}
article .side{
    flex: 0 0 23%;
    box-shadow: 0 0 5px 1px rgba(0,0,0,.5);
    padding: 10px 10px 50px 10px;
    border-radius: 5px;
    background: rgba(50,100,150,.5);
    background: seashell;
}
article .side .background .user{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    color: black;
    margin-top: 25px;
}
article .side .background .user img{
    max-width: 100%;
    height: auto;
}
article .side .background .my{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0 50px;
}
article .side .background .my b{
    font-size: 24px;
    padding-bottom: 3px;
}
article .side .background .my span{
    font-size: 18px;
    color: #333;
}
article .side .background .item{
    margin: 15px 0;
}
article .side .background .item .items{
    background: skyblue;
    box-shadow: 0 0 5px 3px rgba(15,15,15,.4);
    padding: 15px;
}
article .side .background .item .items h4{
    display: block;
    padding-bottom: 10px;
    border-bottom: 1px solid wheat;
    font-size: 18px;
    font-weight: bold;
}
article .side .background .item .items ol{
    color: #666;
    margin: 15px 0;
}
article .side .background .item .items ol li{
    /*display: flex;*/
    padding: 0 15px;
    font-size: 14px;
}
article .side .background .item .items ol li .info{
    display: inline-block;
    width: 100px;
}
article .side .background .item .items ol li p{
    white-space: nowrap;
    text-overflow: ellipsis;
}
article .side .background .item .items ol li .back{
    background: navajowhite;
    height: 10px;
}
article .side .background .item:last-child .items ol li img{
    width:100%;
}

article .side .background .item .items ol li .schedule{
    background: orange;
    height: 100%;
}
article .undergo{
    background: rgba(50,100,150,.5);
    background: white;
    background: floralwhite;
    border-radius: 5px;
}
article .undergo ul li{
    overflow: hidden;
    border-radius: 20px;
    padding: 20px;
    margin: 15px 0;
}
article .undergo ul li h4{
    color: tomato;
    display: block;
    border-bottom: 1px solid rgba(20,20,20,.6);
    padding-bottom: 10px;
}
article .undergo ul li ol li{
    list-style: square;
    position: relative;
    left: 20px;
    padding: 10px;
}
article .undergo ul li ol li p{
    font-size: 14px;
    font-weight: 100;
}
main{
    flex: 0 0 68%;
    box-shadow: 0 0 5px 1px rgba(0,0,0,.4);
    padding: 10px;
}
footer{
    padding: 10px 0;
}
footer .w{
    text-align: center;
    color: black;
}
footer .w b{
    font-weight: 100;
}
.undergo ul li ol li{
    transition: all 2s;
}
.undergo ul li ol li:hover{
    transform-origin: left;
    transform:translate(0,20px);
    transform:scale(1.5,1.5);
    color: blue;
}
.right_side{
    color: black;
    position: fixed;
    top: 50%;
    right: 0;
}
.right_side ul li{
    width: 100px;
    margin: 5px 0;
    text-align: center;
    border-radius: 15px 0 0 5px;
    overflow: hidden;
}
.right_side ul li a {
    text-decoration: none;
    color: powderblue;
    display: block;
    background: seagreen;
    font-size: 18px;
    padding: 5px 0;
}

.right_side ul li a:hover{
    background: powderblue;
    color: seagreen;
}
a:visited{
    color: darkgreen;
}
article .undergo ul li:hover{
    /*background: rgba(100,200,100,.5);*/
    opacity: .5;
    color: black;
}
article .undergo ul li:hover p{
    display:block;
    width: 60%;
    font-size: 12px;
}
article .side .background .item .items ol li .one{
    width: 70%;
}
article .side .background .item .items ol li .two{
    width: 50%;
}
article .side .background .item .items ol li .three{
    width: 40%;
}
article .side .background .item .items ol li .four{
    width: 20%;
}
#menu{
    display: none;
}
@media (max-width: 1220px)
{
    .w{
        width: 94%;
    }
}
@media (max-width: 1150px) {
    .w{
        width: 94%;
    }
    #menu{
        display: block;
    }
    article .w{
        flex-direction: column;
    }
    article .undergo{
        margin: 30px 0;
    }
    header .w nav{
        transition: all 2s;
        width: 100%;
        left: 0;
        overflow: hidden;
        background:cornflowerblue;
        position: fixed;
        display: flex;
        flex-direction: column;
    }
    header .w nav a{
        padding: 15px 0;
        text-align: center;
    }
}